package com.csun.cmny.provider.service.impl;


import com.csun.cmny.provider.dao.levelCareDataMigrationMapper;
import com.csun.cmny.provider.levelCareDataMigration.BedOfficialVo;

import com.csun.cmny.provider.levelCareDataMigration.RoomOfficialVo;
import com.csun.cmny.provider.service.levelCareDataMigrationService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Slf4j
@Service
@Transactional(rollbackFor = Exception.class)
public class levelCareDataMigrationServiceImpl implements levelCareDataMigrationService {

    @Resource
    private levelCareDataMigrationMapper dataMigrationMapper;

    @Override
    public List<BedOfficialVo> selectbedVos() {
        return dataMigrationMapper.selectbedVos();
    }

    @Override
    public List<RoomOfficialVo> selectroomOfficialVos() {
        return dataMigrationMapper.selectroomOfficialVos();
    }
}
